package com.xja.service;

import com.xja.pojo.Permissions;
import com.xja.pojo.Role;

import java.util.List;

public interface RoleService {
    List<Role> findList();

    Role findRoleById(Integer id);

    void addRole(Role role, Integer[] ps);

    void updateRole(Role role, Integer[] ps);

    void deleteRole(Integer roleId);
}
